home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global nappi_sprite, instold, roll_channel, to_be_roll_frame, to_be_sprite, roller, lastmtime, inst, roll_sprite_now, soho_rot_frames
- LiveRollOver(103, 103, 0)
- DefCurs()
- if (inst <> " ") and (to_be_roll_frame <> roll_sprite_now) then
- set roll_sprite_now to roll_sprite_now + roller
- if roll_sprite_now = 0 then
- set roll_sprite_now to 18
- end if
- set spr to getAt(soho_rot_frames, roll_sprite_now)
- if spr = "_loop" then
- set roll_sprite_now to 1
- set spr to getAt(soho_rot_frames, roll_sprite_now)
- end if
- set the member of sprite 16 to member spr of castLib "soho_instruments"
- else
- if (inst <> " ") and (the visible of sprite to_be_sprite = 0) then
- set the visible of sprite 14 to 1
- set the visible of sprite to_be_sprite to 1
- set the visible of sprite (to_be_sprite + 20) to 1
- set the visible of sprite (to_be_sprite + 40) to 1
- set the visible of sprite (to_be_sprite + 60) to 1
- end if
- end if
- SohoHelpFunction(6, "sumer", 2, 212, 20)
- SohoHelpFunction(7, "cds", 10, 240, 21)
- SohoHelpFunction(8, "eit", 14, 270, 22)
- SohoHelpFunction(9, "uvcs", 16, 301, 23)
- SohoHelpFunction(10, "lasco", 1, 331, 24)
- SohoHelpFunction(2, "celias", 9, 69, 26)
- SohoHelpFunction(3, "costep", 6, 100, 27)
- SohoHelpFunction(4, "erne", 8, 131, 28)
- SohoHelpFunction(5, "swan", 16, 161, 25)
- SohoHelpFunction(11, "golf", 6, 378, 29)
- SohoHelpFunction(12, "virgo", 1, 408, 30)
- SohoHelpFunction(13, "mdi", 5, 439, 31)
- if (instold <> " ") and (inst = " ") then
- set roller to 0
- remove_nappi()
- end if
- set instold to inst
- go(the frame)
- end
-
- on SohoHelpFunction rover, name, frame, ycoord, tob
- global to_be_roll_frame, inst, to_be_sprite, nappi_sprite
- set ycoord to ycoord - 5
- if rollOver(rover) then
- set the locV of sprite nappi_sprite to ycoord
- set the locH of sprite nappi_sprite to 459
- end if
- if rollOver(rover) and (inst <> name) then
- set to_be_roll_frame to frame
- set inst to name
- set the locV of sprite nappi_sprite to ycoord
- set to_be_sprite to tob
- startRot()
- ShowTxtS()
- else
- if not rollOver(rover) and (inst = name) then
- HideInstrumentsJustThePic()
- end if
- end if
- end
-
- on ShowTxtS
- global inst
- set hlp to inst & "_1"
- if (inst = "golf") or (inst = "virgo") or (inst = "mdi") then
- set the member of sprite 111 to member "txt_interior" of castLib "soho_instruments"
- else
- if (inst = "celias") or (inst = "costep") or (inst = "erne") or (inst = "swan") then
- set the member of sprite 111 to member "txt_wind" of castLib "soho_instruments"
- else
- set the member of sprite 111 to member "txt_atmosphere" of castLib "soho_instruments"
- end if
- end if
- set the member of sprite 110 to member hlp of castLib "soho_instruments"
- end
-